package cn.lili.modules.member.entity.dos;

import cn.lili.common.security.sensitive.Sensitive;
import cn.lili.common.security.sensitive.enums.SensitiveStrategy;
import cn.lili.common.validation.Phone;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p></p>
 * @since 2023/3/8 14:35
 */
@Data
@TableName("li_member_mobile")
@ApiModel(value = "用户手机手机信息")
public class MemberMobile {
	private static final long serialVersionUID = 1L;

	@TableId
	@ApiModelProperty(value = "唯一标识", hidden = true)
	private String id;

	@Phone
	@ApiModelProperty(value = "手机号码")
	@Sensitive(strategy = SensitiveStrategy.PHONE)
	private String mobile;

	@ApiModelProperty(value = "外网ip")
	private String cip;

	@ApiModelProperty(value = "网络信息")
	private String network;

	@ApiModelProperty(value = "手机系统信息")
	private String mobileSystem;

	@ApiModelProperty(value = "手机位置信息")
	private String ipinfo;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;
}
